<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        // var a = '123';
        // a = a * true;
        // console.log(typeof(a),a)

        // var b = 123;
        // b = b + '';
        // console.log(typeof(b),b)

        // 自增和自减
        var a = 1;
        c = a++; //c = a = 1---a = 1+1 = 2
        b  = ++a; //a =2+1 = 3 ---b= a 
        console.log(b,c)
    </script>
</head>
<body>
    
</body>
</html>